package com.wanmait.zaisousuo.mapper;

import com.wanmait.zaisousuo.pojo.CompanyApproval;
import com.wanmait.zaisousuo.pojo.Userinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyApprovalMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CompanyApproval record);

    int insertSelective(CompanyApproval record);

    CompanyApproval selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CompanyApproval record);

    int updateByPrimaryKey(CompanyApproval record);

    CompanyApproval findCompanyName(String companyName);

    void companyAuthenticat(CompanyApproval companyApproval);

    //修改审核状态
    void changeCompanyStates(@Param("id")Integer id, @Param("flag")Boolean flag);
}